package puke;

public class Card {
    private String point;//点数
    private String type;//花色
    private int weight;//权重

    public Card() {
    }

    public Card(String point, String type, int weight) {
        this.point = point;
        this.type = type;
        this.weight = weight;
    }

    @Override
    public String toString() {
        return type+point+" ";
    }

    public String getPoint() {
        return point;
    }

    public String getType() {
        return type;
    }

    public int getWeight() {
        return weight;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
